import request from '@/utils/request'

// 首页数据
export function IndexData() {
  return request({
    url: '/IndexData',
    method: 'get'
  })
}



// 刷新客户数据
export function refreshClient(dayType) {
  return request({
    url: '/refreshClient/' + dayType ,
    method: 'get'
  })
}

// 刷新项目数据
export function refreshProject(dayType) {
  return request({
    url: '/refreshProject/' + dayType ,
    method: 'get'
  })
}


// 刷新下级渠道数据
export function refreshChannel(dayType) {
  return request({
    url: '/refreshChannel/' + dayType,
    method: 'get'
  })
}
